//
//  NSString+Time.h
//  XYuanTiKu
//
//  Created by mayanwei on 15-3-7.
//  Copyright (c) 2015年 XiongYing Tec. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (Time)

+ (NSString *)stringFromDate:(NSDate *)date;
+ (NSString *)bookTimeFormDate:(NSDate *)date;

+ (NSDate *)transfromHMDateFromString:(NSString *)string;
+ (NSString *)transfromHMStringFromDate:(NSDate *)date;

+ (NSDate *)transfromYMDHMDateFromString:(NSString *)string;

+ (NSString *)createTimeNow;

+ (long)getTimeStamp:(NSString*)dateStr;

@end
